@charset "UTF-8";

body {
  font-family: 'PingHei', 'PingFang SC', Helvetica Neue, 'Work Sans', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif;
  width: 100%;
  margin: 0 auto 30px auto;
  background-color: #fff;
  padding: 0;
  line-height: 1.6em;
}

* {
  &::-webkit-scrollbar-track-piece {
    background-color: #f8f8f8;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #ddd;
    background-clip: padding-box;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;

    &:hover {
      background-color: #bbb;
    }
  }
}

svg {
  display: inline-block;
}

.animated {
  animation-fill-mode: both;
  animation-duration: 0.8s;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

.content {
  height: auto;
  float: right;
  margin-top: 60px;
}


.page-top {
  display: flex;
  align-items: center;
  position: fixed;
  right: 0;
  z-index: 3;
  background-color: #fff;
  height: 60px;
  border-bottom: 1px solid #f2f2f2;

  .nav {
    .nav-item {
      &.current {
        @apply font-medium;
        border-bottom: 1px solid #5A5A5A;
      }
    }
  }

  .information {
    padding-right: 30px;
    display: flex;
    align-items: center;

    .avatar {
      img {
        width: 32px;
        height: 32px;
        border-radius: 300px;
      }
    }
  }
}

.sidebar {
  -webkit-background-size: cover;
  background-size: cover;
  background-color: #fff;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 4;
  border-right: 1px solid #f2f2f2;

  .logo-title {
    text-align: center;
    padding-top: 240px;

    .description {
      font-size: 14px;
      color: #565654;
    }

    .logo {
      margin: 0 auto;
    }

    .title {
      h3 {
        font-size: 2rem;
        font-weight: bold;
        letter-spacing: 2px;
        line-height: 1;
      }

      a {
        text-decoration: none;
        color: #464646;
        font-size: 2rem;
        font-weight: bold;
      }
    }
  }

  .social-links {
    list-style: none;
    padding: 0;
    font-size: 14px;
    text-align: center;

    i {
      margin-right: 3px;
    }

    li {
      display: inline;
      padding: 0 4px;
      line-height: 0;
    }

    a {
      color: #565654;

      &:hover {
        color: #4786D6;
      }
    }
  }
}

.post {
  background-color: #FFF;
  margin: 30px;

  .post-title {
    h3 {
      letter-spacing: 1px;
      line-height: 1;
      color: #464646;
      font-size: 22px;
      margin: 0;
    }

    a {
      text-decoration: none;
      letter-spacing: 1px;
      color: #5f5f5f;

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

.post-page {
  width: 80%;
}

.post-info {
  .meta {
    max-width: 100%;
    height: 25px;
    color: #bbbbbb;

    .info {
      float: left;
      font-size: 12px;

      span {
        margin-right: 10px;
      }
    }

    a {
      text-decoration: none;
      color: #bbbbbb;
      padding-right: 10px;

      &:hover {
        color: #4786D6;
      }
    }

    i {
      margin-right: 6px;
    }

    svg {
      vertical-align: -7%;
    }
  }
}

.post-navigation {
  padding-top: 150px;
  display: flex;
  position: fixed;
  float: left;
  max-width: 15%;
  right: 0;
  bottom: 0;
  height: 100%;
  flex-direction: column;
  background-color: #fffffffa;
  border-left: 1px solid #f2f6fc;
  border-right: 1px solid #f2f6fc;


  .post-navigation-title {
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #f2f6fc;
    flex: none;
    line-height: 50px;
    font-size: 16px;
    box-sizing: border-box;
    padding: 0 12px 0 18px;
  }

  .post-navigation-wrapper {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;

    h1, h2, h3, h4, h5, h6 {
      margin: 2px 0;
      font-weight: 500;
      font-size: 17px;
      color: #2185d0;
      cursor: pointer;
      line-height: normal;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 0 12px;
      border-bottom: none
    }

    h2 {
      padding-left: 27px;
      font-size: 17px;
    }

    h3 {
      padding-left: 42px;
      font-size: 17px
    }

    h4 {
      padding-left: 58px;
      font-size: 15px
    }

    h5 {
      padding-left: 72px;
      font-size: 15px
    }

    h6 {
      padding-left: 87px;
      font-size: 15px
    }
  }
}


.pagination {
  margin: 30px;
  padding: 0 0 56px 0;
  border-bottom: 1px solid #f2f2f2;

  a {
    text-decoration: none;
    padding: 0.5em 1.25em;
    line-height: 1.666em;
  }
}

.footer {
  clear: both;
  text-align: center;
  font-size: 10px;
  margin: 0 auto;
  bottom: 0;
  position: absolute;
  width: 100%;
  padding-bottom: 20px;

  a {
    color: #A6A6A6;

    &:hover {
      color: #4786D6;
    }
  }
}

.archive {
  width: 100%;
}

.list-with-title {
  font-size: 14px;
  margin: 30px;
  padding: 0;

  li {
    list-style-type: none;
    padding: 0;
  }

  .listing-title {
    font-size: 24px;
    color: #666666;
    font-weight: 600;
    line-height: 2.2em;
  }

  .listing {
    padding: 0;

    .listing-post {
      padding-bottom: 5px;

      .post-time {
        float: right;
        color: #C5C5C5;
      }

      a {
        color: #8F8F8F;

        &:hover {
          color: #4786D6;
        }
      }
    }
  }
}

a.btn {
  color: #868686;
  font-weight: 400;
}

.btn {
  display: inline-block;
  position: relative;
  outline: 0;
  color: rgba(0, 0, 0, 0.44);
  background: transparent;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  font-weight: 400;
  font-style: normal;
  border-radius: 999em;

  &:hover {
    display: inline-block;
    position: relative;
    outline: 0;
    color: #464545;
    background: transparent;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #464545;
    white-space: nowrap;
    font-weight: 400;
    font-style: normal;
    border-radius: 999em;
  }
}

.menu {
  float: right;
  padding-top: 30px;
}

@media screen and (max-width: 960px) {
  .sidebar {
    width: 100%;
    position: absolute;
    border-right: none;
    z-index: 1;
    height: 420px;

    .logo-title {
      padding-top: 120px;

      .title {
        img {
          width: 100px;
        }

        h3 {
          font-size: 20px;
        }
      }
    }
  }

  .page-top {
    width: 100%;
  }

  .post-title h3 {
    line-height: 1.6;
  }

  .content {
    margin-top: 420px;
    width: 100%;
    z-index: 2;
    position: absolute;
  }

  .footer {
    display: none;
  }
  .post-navigation{
    display: none;
  }
  .post-page{
    width: 100%;
  }
}

.markdown-body {
  ul {
    list-style: disc;
  }

  ol {
    list-style: decimal;
  }

  h1, h2, h3, h4, h5, h6 {
    border: none !important;
  }

  pre {
    padding: 0 !important;

    code {
      border: 1px solid #fbf6f6;
    }
  }
}

@-webkit-keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.animate-spin {
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite
}

.cursor-pointer {
  cursor: pointer
}

.grid-cols-1 {
  grid-template-columns:repeat(1, minmax(0, 1fr))
}

.flex-row {
  flex-direction: row
}

.flex-col {
  flex-direction: column
}

.flex-wrap {
  flex-wrap: wrap
}

.flex-nowrap {
  flex-wrap: nowrap
}

.items-start {
  align-items: flex-start
}

.items-end {
  align-items: flex-end
}

.items-center {
  align-items: center
}

.items-stretch {
  align-items: stretch
}

.justify-end {
  justify-content: flex-end
}

.justify-center {
  justify-content: center
}

.justify-between {
  justify-content: space-between
}

.gap-8 {
  gap: 2rem
}

.gap-2 {
  gap: .5rem
}

.gap-4 {
  gap: 1rem
}

.gap-6 {
  gap: 1.5rem
}

.gap-y-2 {
  row-gap: .5rem
}

.space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(.75rem * var(--tw-space-x-reverse));
  margin-left: calc(.75rem * calc(1 - var(--tw-space-x-reverse)))
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse))
}

.divide-gray-100 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-divide-opacity))
}

.self-center {
  align-self: center
}

.overflow-x-auto {
  overflow-x: auto
}

.overflow-y-auto {
  overflow-y: auto
}

.overflow-x-hidden {
  overflow-x: hidden
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.whitespace-nowrap {
  white-space: nowrap
}

.rounded-full {
  border-radius: 9999px
}

.rounded {
  border-radius: .25rem
}

.rounded-lg {
  border-radius: .5rem
}

.border {
  border-width: 1px
}

.border-b {
  border-bottom-width: 1px
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity))
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity))
}

.border-b-\[\#f2f2f2\] {
  --tw-border-opacity: 1;
  border-bottom-color: rgb(242 242 242 / var(--tw-border-opacity))
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity))
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity))
}

.bg-gray-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity))
}

.bg-opacity-75 {
  --tw-bg-opacity: .75
}

.p-1 {
  padding: .25rem
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem
}

.py-2\.5 {
  padding-top: .625rem;
  padding-bottom: .625rem
}

.py-2 {
  padding-top: .5rem;
  padding-bottom: .5rem
}

.px-\[16px\] {
  padding-left: 16px;
  padding-right: 16px
}

.py-\[12px\] {
  padding-top: 12px;
  padding-bottom: 12px
}

.pl-5 {
  padding-left: 1.25rem
}

.pb-3 {
  padding-bottom: .75rem
}

.pb-\[30px\] {
  padding-bottom: 30px
}

.text-sm {
  font-size: .875rem;
  line-height: 1.25rem
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem
}

.\!text-sm {
  font-size: .875rem !important;
  line-height: 1.25rem !important
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem
}

.font-medium {
  font-weight: 500
}

.font-bold {
  font-weight: 700
}

.leading-6 {
  line-height: 1.5rem
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity))
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity))
}

.text-black\/80 {
  color: #000c
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity))
}

.text-black\/60 {
  color: #0009
}

.\!text-gray-500 {
  --tw-text-opacity: 1 !important;
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity))
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity))
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity))
}

.text-black\/70 {
  color: #000000b3
}

.text-black\/50 {
  color: #00000080
}

.underline-offset-1 {
  text-underline-offset: 1px
}

.opacity-0 {
  opacity: 0
}

.opacity-100 {
  opacity: 1
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s
}

.duration-300 {
  transition-duration: .3s
}

.duration-200 {
  transition-duration: .2s
}

.duration-100 {
  transition-duration: .1s
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, .2, 1)
}

.ease-in {
  transition-timing-function: cubic-bezier(.4, 0, 1, 1)
}

.hover\:border-gray-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity))
}

.hover\:bg-gray-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity))
}

.hover\:bg-gray-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity))
}

.hover\:font-medium:hover {
  font-weight: 500
}

.hover\:text-black:hover {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity))
}

.hover\:text-red-700:hover {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity))
}

.hover\:text-\[\#4786D6\]:hover {
  --tw-text-opacity: 1;
  color: rgb(71 134 214 / var(--tw-text-opacity))
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity))
}

.hover\:underline:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline
}

.hover\:shadow:hover {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.focus\:border-black:focus {
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity))
}

.focus\:ring-black:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))
}

@media (min-width: 640px) {
  .sm\:flex {
    display: flex
  }

  .sm\:hidden {
    display: none
  }

  .sm\:translate-y-0 {
    --tw-translate-y: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
  }

  .sm\:scale-95 {
    --tw-scale-x: .95;
    --tw-scale-y: .95;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
  }

  .sm\:scale-100 {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
  }

  .sm\:grid-cols-2 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
  }

  .sm\:text-sm {
    font-size: .875rem;
    line-height: 1.25rem
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
  }

  .lg\:grid-cols-3 {
    grid-template-columns:repeat(3, minmax(0, 1fr))
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-2 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
  }

  .xl\:grid-cols-4 {
    grid-template-columns:repeat(4, minmax(0, 1fr))
  }
}


.fixed {
  position: fixed
}

.absolute {
  position: absolute
}

.relative {
  position: relative
}

.top-0 {
  top: 0px
}

.left-0 {
  left: 0px
}

.z-\[9999999999\] {
  z-index: 9999999999
}

.m-\[30px\] {
  margin: 30px
}

.mx-\[16px\] {
  margin-left: 16px;
  margin-right: 16px
}

.ml-2 {
  margin-left: .5rem
}

.ml-1 {
  margin-left: .25rem
}

.mt-3 {
  margin-top: .75rem
}

.mt-2 {
  margin-top: .5rem
}

.mr-2 {
  margin-right: .5rem
}

.ml-5 {
  margin-left: 1.25rem
}

.mb-10 {
  margin-bottom: 2.5rem
}

.mt-\[20px\] {
  margin-top: 20px
}

.ml-\[30px\] {
  margin-left: 30px
}

.mr-4 {
  margin-right: 1rem
}

.mt-8 {
  margin-top: 2rem
}

.mb-3 {
  margin-bottom: .75rem
}

.\!mt-3 {
  margin-top: .75rem !important
}

.\!mb-0 {
  margin-bottom: 0 !important
}

.mt-1 {
  margin-top: .25rem
}

.block {
  display: block
}

.inline-block {
  display: inline-block
}

.flex {
  display: flex
}

.inline-flex {
  display: inline-flex
}

.grid {
  display: grid
}

.hidden {
  display: none
}

.h-5 {
  height: 1.25rem
}

.h-12 {
  height: 3rem
}

.h-3\.5 {
  height: .875rem
}

.h-3 {
  height: .75rem
}

.h-full {
  height: 100%
}

.h-\[32px\] {
  height: 32px
}

.h-4 {
  height: 1rem
}

.h-8 {
  height: 2rem
}

.w-5 {
  width: 1.25rem
}

.w-20 {
  width: 5rem
}

.w-12 {
  width: 3rem
}

.w-3\.5 {
  width: .875rem
}

.w-3 {
  width: .75rem
}

.w-\[32px\] {
  width: 32px
}

.w-4 {
  width: 1rem
}

.w-full {
  width: 100%
}

.w-8 {
  width: 2rem
}

.min-w-0 {
  min-width: 0px
}

.max-w-3xl {
  max-width: 48rem
}

.flex-1 {
  flex: 1 1 0%
}

.flex-none {
  flex: none
}

.flex-shrink-0 {
  flex-shrink: 0
}

.translate-y-4 {
  --tw-translate-y: 1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.translate-y-0 {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

@-webkit-keyframes bounce {
  0%, to {
    transform: translateY(-25%);
    -webkit-animation-timing-function: cubic-bezier(.8, 0, 1, 1);
    animation-timing-function: cubic-bezier(.8, 0, 1, 1)
  }
  50% {
    transform: none;
    -webkit-animation-timing-function: cubic-bezier(0, 0, .2, 1);
    animation-timing-function: cubic-bezier(0, 0, .2, 1)
  }
}